package cn.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName("sys_region")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRegion {
    @TableId(type = IdType.AUTO)
//序号
    private Integer regionId;
    private String regionName;
    private Integer regionParentId;
    private Integer regionLevel;
    private String updates;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime finallyTime;

}
